<template>
  <div>
    hello info
    <button @click="add">Add</button>

    <RouterLink to="/">to home</RouterLink>
  </div>
</template>

<script>
import store from '@/store'
export default {
  name: 'Info',
  store,
  methods: {
    add () {
      store.commit('increase')
    }
  }
}

</script>

<style scoped>

</style>
